package com.crm.model.entity.sys;

import java.util.Date;

public class News {
    private String newsId;

    private String newsTitle;

    private String uploadId;

    private Integer newsOrder;

    private Short deleteStatus;

    private String createPeopleId;

    private Date createTm;

    private String updatePeopleId;

    private Date updateTm;

    private String newsContent;

    public News(String newsId, String newsTitle, String uploadId, Integer newsOrder, Short deleteStatus, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm) {
        this.newsId = newsId;
        this.newsTitle = newsTitle;
        this.uploadId = uploadId;
        this.newsOrder = newsOrder;
        this.deleteStatus = deleteStatus;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
    }

    public News(String newsId, String newsTitle, String uploadId, Integer newsOrder, Short deleteStatus, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm, String newsContent) {
        this.newsId = newsId;
        this.newsTitle = newsTitle;
        this.uploadId = uploadId;
        this.newsOrder = newsOrder;
        this.deleteStatus = deleteStatus;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
        this.newsContent = newsContent;
    }

    public News() {
        super();
    }

    public String getNewsId() {
        return newsId;
    }

    public void setNewsId(String newsId) {
        this.newsId = newsId == null ? null : newsId.trim();
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle == null ? null : newsTitle.trim();
    }

    public String getUploadId() {
        return uploadId;
    }

    public void setUploadId(String uploadId) {
        this.uploadId = uploadId == null ? null : uploadId.trim();
    }

    public Integer getNewsOrder() {
        return newsOrder;
    }

    public void setNewsOrder(Integer newsOrder) {
        this.newsOrder = newsOrder;
    }

    public Short getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Short deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getCreatePeopleId() {
        return createPeopleId;
    }

    public void setCreatePeopleId(String createPeopleId) {
        this.createPeopleId = createPeopleId == null ? null : createPeopleId.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUpdatePeopleId() {
        return updatePeopleId;
    }

    public void setUpdatePeopleId(String updatePeopleId) {
        this.updatePeopleId = updatePeopleId == null ? null : updatePeopleId.trim();
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent == null ? null : newsContent.trim();
    }
}